package com.erp.entity.goods;

/**
 * 商品图片信息表
 */
public class GoodsImages {
    private Integer imgId; // 主键

    private Integer goodsId; // 商品ID

    private String imgUrl; // 图片名称

    private Integer isMain; // 是否是主图（1是）

    private Integer companyId; // 公司ID


    public GoodsImages() {
    }

    public GoodsImages(Integer imgId, Integer goodsId, String imgUrl, Integer isMain, Integer companyId) {
        this.imgId = imgId;
        this.goodsId = goodsId;
        this.imgUrl = imgUrl;
        this.isMain = isMain;
        this.companyId = companyId;
    }

    /**
     * 获取
     * @return imgId
     */
    public Integer getImgId() {
        return imgId;
    }

    /**
     * 设置
     * @param imgId
     */
    public void setImgId(Integer imgId) {
        this.imgId = imgId;
    }

    /**
     * 获取
     * @return goodsId
     */
    public Integer getGoodsId() {
        return goodsId;
    }

    /**
     * 设置
     * @param goodsId
     */
    public void setGoodsId(Integer goodsId) {
        this.goodsId = goodsId;
    }

    /**
     * 获取
     * @return imgUrl
     */
    public String getImgUrl() {
        return imgUrl;
    }

    /**
     * 设置
     * @param imgUrl
     */
    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    /**
     * 获取
     * @return isMain
     */
    public Integer getIsMain() {
        return isMain;
    }

    /**
     * 设置
     * @param isMain
     */
    public void setIsMain(Integer isMain) {
        this.isMain = isMain;
    }

    /**
     * 获取
     * @return companyId
     */
    public Integer getCompanyId() {
        return companyId;
    }

    /**
     * 设置
     * @param companyId
     */
    public void setCompanyId(Integer companyId) {
        this.companyId = companyId;
    }

    public String toString() {
        return "GoodsImages{imgId = " + imgId + ", goodsId = " + goodsId + ", imgUrl = " + imgUrl + ", isMain = " + isMain + ", companyId = " + companyId + "}";
    }
}
